package pruebas;

import dao.DaoAlumnos;
import dao.impl.DaoAlumnosImpl;
import dto.Alumnos;

public class PruebaIns {

    public static void main(String[] args) {
        DaoAlumnos daoAlumnos = new DaoAlumnosImpl();

        Alumnos p = new Alumnos();
        p.setAlumno("aaa");
        p.setNota1(11);
        p.setNota2(12);
        p.setNota3(13);
        p.setComentario("Hola Mundo");

        String msg = daoAlumnos.alumnosIns(p);

        if (msg == null) {
            System.out.println("Exito!");
        } else {
            System.out.println(msg);
        }
    }
}
